
import Server from "@/request/request.js"
class Request extends Server{
	//获取管理员信息
	getAdminListAsync(data){
		return this.post({url:"/admin/admin/list",data})
	}
	//根据id删除管理员
	deleteAdminById(){
		return this.delete({url:"/admin/admin"})
	}
	//获取登录token
	getToken(data){
		return this.post({data});
	}
}
export default new Request;